<?php
// +----------------------------------------------------------------------
// | admin应用设置
// +----------------------------------------------------------------------

return [
	'app_ver'	=>	'xaoam 1.0',
	'app_url'	=> 'https://www.xaoam.com',
	'captcha_config'	=>	[
		'imageH'	=> '38',
		'imageW'	=> '150',
		'fontSize'	=>	'18',
		'length'	=>	'4',
		'useCurve'	=>	false
	],
	'groups_id'	=> [1,2], /*超级用户组,普通用户组*/
	'deviceType' => [
		0	=> 'LED',
		1	=> 'Switch',
		2	=> 'Other'
	],
	'bar_site'	=>['顶背景','上','中','下'],
	'links_site'	=>['A','B','广告','友链'],
	/*默认头像*/
	'default_pic'	=> ['100.jpg','101.jpg','102.jpg'],
	'wallpapers'	=> ['login.jpg','main.jpg','main2.jpg','main3.jpg'],
	'template'		=>	[
				'0'=> ['name'=>'默认主题','url'=>url("index/index"),'image'=>'index.png'],
				'1'=> ['name'=>'窗口主题','url'=>url("index/win"),'image'=>'win.png']
	],
	/*上传*/
	'upload_file'		=>[
		'image'		=>['size'=>3572864,'ext'=>'jpg,png,gif','type'=>'image/jpeg,image/gif,image/png'],
		'file'		=>['size'=>13572864,'ext'=>'rar,zip','type'=>'application/zip,application/x-rar'],
	],
	'empty_image'	=>'/static/pic/empty.jpg',
	// 默认跳转页面对应的模板文件
	'dispatch_success_tmpl'  => 'tpl\success_jump',
	'dispatch_error_tmpl'    => 'tpl\error',
];
